export default {
	parseParamsUrl(url) {
		let paramUrl = url.split("?")[1];
		let params = paramUrl.split("&");
		let paramObj = {};
		params.forEach(item => {
			let itemSplit = item.split("=");
			paramObj[itemSplit[0]] = itemSplit[1];
		})
		return paramObj;
	}
}
